//author: create by SunJH
//时间: 2021/12/13 0013
//邮箱: 965989158@qq.com
//描述: 参数传递测试

import 'package:flutter/material.dart';
import 'package:get/get.dart';

class ParamsTest extends StatelessWidget {
  const ParamsTest({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Container(alignment: Alignment.center,child: InkWell(onTap: (){
       var arguments = ModalRoute.of(context)?.settings.arguments;
       print(arguments);
       Get.back(result: "success");
      },child: const Text("验证参数"),),),
    );
  }
}
